#ifndef JOBDIALOG_H
#define JOBDIALOG_H

#include <QDialog>
#include <QStringList>

namespace Ui {
    class JobDialog;
}
class Job;
class TranslationRules;
class QListWidgetItem;
class JobDialog : public QDialog {
    Q_OBJECT
public:
    JobDialog(TranslationRules* rules, QWidget *parent = 0);
    ~JobDialog();
protected slots:
    void onAddFilesClicked();
    void onAddDirectoryClicked();
    void onRemoveSelectedClicked();
    void showPreview(const QListWidgetItem* item);
    void runJob();
protected:
    void changeEvent(QEvent *e);

private:
    Ui::JobDialog *ui;
    Job* m_job;
};

#endif // JOBDIALOG_H
